<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
<html lang="en">
<head>
	<meta http-equiv="Content-Type" content="text/html;charset=UTF-8">
	<title>过渡效果</title>
	<style type="text/css">
        div{
        	width:100px;height:100px;background:red;transition:width 2s,height 2s,transform 2s;
        }
        div:hover{
        	width:300px;height:300px;background:yellow;transform:rotate(30deg);
        }
	</style>
</head>
<body>

    <div>把鼠标放在div上，查看元素过渡效果。</div>
	
</body>
</html>